package com.xiaoyu.awakening.user.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoyu.awakening.common.core.entity.DbBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 租户表
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("t_tenant")
public class TenantEntity extends DbBaseEntity {
    private Long id;
    private String tenantId;
    private String tenantName;
    private String tenantRemark;
    private String userNum;
    private LocalDateTime startTime;
    private LocalDateTime expirationTime;
    private String adminUserName;
    private String adminUserId;
    private String adminUserPhone;
    private String operatorUser;
    private Long operatorUserId;
    @TableLogic
    private int status;
}
